package cn.jjxx.modules.xmgl.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.xmgl.mapper.EqProjectCoordinatesMapper;
import cn.jjxx.modules.xmgl.entity.EqProjectCoordinates;
import cn.jjxx.modules.xmgl.service.IEqProjectCoordinatesService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 项目经纬度坐标
 * @Description: 项目经纬度坐标
 * @author yw
 * @date 2022-02-18 14:07:20
 * @version V1.0   
 *
 */
@Transactional
@Service("eqProjectCoordinatesService")
public class EqProjectCoordinatesServiceImpl  extends CommonServiceImpl<EqProjectCoordinatesMapper,EqProjectCoordinates> implements  IEqProjectCoordinatesService {

	@Override
	public boolean insertBatch(List<EqProjectCoordinates> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<EqProjectCoordinates> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
